libxl: assign a default ssidref (XSM label) to guests
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 May 2015 14:39:00 +0000 (15:39 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 May 2015 14:25:53 +0000 (15:25 +0100)
commitb521422bd9c12719e6848c1be340df667ef41b52
treec91063b11cbea6478c60cf8469d81f44feb422c8
parent926158e2a14ff5b7edc6e32ce332efff52d1d17b
libxl: assign a default ssidref (XSM label) to guests

We have now arranged for SECINITSID_DOMU and SECINITSID_DOMDM to be
defined (correspondng to system_u:system_r:domU_t and
system_u:system_r:dm_dom_t respectively in the default policy). Use
these as the default for the SSID of every (stub)domain.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Cc: Wei.Liu2@citrix.com
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
tools/libxl/libxl_create.c